package com.panfeng.xcloud.common.security.annotation;

import java.lang.annotation.*;

/**
 *
 * 方法model实体字段校验，需要配合BindingResult一起使用，响应请见BindingResultAspect
 *
 * @author xiaobo
 * @version 1.0
 * @since 2017-04-10
 */
@Target({ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MethodValidate {

	boolean isValidate() default true;
}
